export const dict = [
        {
        key: "1",
        value: "启用"
    },
    {
        key: "2",
        value: "禁用"
    },
];

export const get = (key) => {
    const item = dict.find(item => item.key == key);
    return item?item.value:' ';
}

export default{
    dict,
    get
}
